package com.cq.hd.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cq.hd.common.pagination.Page;
import com.cq.hd.member.api.dto.*;
import com.cq.hd.member.api.vo.AgentUnBindApplyPageVo;
import com.cq.hd.member.po.TbAgentUnBindApplyPo;

/**
 * <p>
 * 经纪人解绑申请记录 服务类
 * </p>
 */
public interface TbAgentUnBindApplyService extends IService<TbAgentUnBindApplyPo> {
    // 经纪人解绑申请
    Boolean apply(AgentUnBindApplyDto agentUnbindApplyDto);

    // 待审核数量
    Integer waitAuditCount(Long inviterUserId);

    Page<AgentUnBindApplyPageVo> page(AgentUnBindApplyPageDto agentUnBindApplyPageDto);

    // 审核经纪人解绑申请
    Boolean audit(AgentUnBindApplyAuditDto agentUnBindApplyAuditDto);
}
